05. Where to Focus Your Attention

Where to Focus Your Attention

Recap

In the previous examples, you saw how code like this:

def say_hello(name):
    greeting = "Hello " + name + "!"
    return greeting

print say_hello("Miriam")
print say_hello("Andy")

can lead to output like this:

Hello Miriam!
Hello Andy!

This wasn't the most impressive example, but try to imagine the power this could give you!

Next you'll see Dave talk to Sebastian (the founder of Udacity) about self-driving cars.
They will talk a lot about inputs and outputs. Pay attention to how they use these words.